package net.toocruel.iqismart.entity.setting;

import net.toocruel.iqismart.entity.base.BaseEntity;
import org.hibernate.validator.constraints.NotBlank;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * The type Setting.
 */
@Entity
public class SettingWebsite extends BaseEntity {
    private static final long serialVersionUID = 4311307435447652042L;
    //kU*kqz5]
    private String adminEmail = "";
    private Integer cacheTime = 0;
    private String footer = "";
    private String header = "";
    private String icp = "";
    @NotBlank(message = "网站名称不能为空")
    private String name = "一起smart";
    @Column(length = 10000)
    private String shareCode = "<link href=\"/static/js/share/css/share.min.css\" rel=\"stylesheet\">\n" +
            " <script src=\"/static/js/share/js/social-share.min.js\"></script>\n" +
            "<div class=\"share-component\" data-disabled=\"google,twitter,facebook,tencent,linkedin,diandian,douban\" ></div>";
    private String slogan = "一个技术性的知识问答分享平台";
    private String theme = "default";
    private String url = "";
    private String welcome = "欢迎加入一起smart问答社区，一起记录这个世界";


    public String getAdminEmail() {
        return adminEmail;
    }

    public void setAdminEmail(String adminEmail) {
        this.adminEmail = adminEmail;
    }

    public Integer getCacheTime() {
        return cacheTime;
    }

    public void setCacheTime(Integer cacheTime) {
        this.cacheTime = cacheTime;
    }

    public String getFooter() {
        return footer;
    }

    public void setFooter(String footer) {
        this.footer = footer;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getIcp() {
        return icp;
    }

    public void setIcp(String icp) {
        this.icp = icp;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShareCode() {
        return shareCode;
    }

    public void setShareCode(String shareCode) {
        this.shareCode = shareCode;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getWelcome() {
        return welcome;
    }

    public void setWelcome(String welcome) {
        this.welcome = welcome;
    }
}